package com.huawei.appmarket.service.store.awk.card;

import android.content.Context;
import android.text.TextUtils;
import android.view.View;
import android.widget.TextView;
import com.huawei.appgallery.foundation.card.base.card.BaseDistCard;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import com.huawei.appmarket.service.appdetail.bean.detail.DetailEditorRecommendBean;
import o.azb;
import o.cgz;
import o.ewm.j;

public class DetailEditorRecommendGeneralCard extends BaseDistCard {
    private TextView ˋ;

    public /* synthetic */ cgz ˏ(View view) {
        return ˋ(view);
    }

    public DetailEditorRecommendGeneralCard(Context context) {
        super(context);
    }

    public DetailEditorRecommendGeneralCard ˋ(View view) {
        azb.ˏ(view);
        this.ˋ = (TextView) view.findViewById(j.ॱꜝ);
        ʽ(view);
        return this;
    }

    public void ˏ(CardBean cardBean) {
        CharSequence ॱ = ((DetailEditorRecommendBean) cardBean).ॱ();
        if (!TextUtils.isEmpty(ॱ)) {
            this.ˋ.setText(ॱ);
        }
    }
}
